﻿using AutoMapper;
using Hicap.QRCodeWarehouse.Core.Models.DbSet;

namespace Hicap.QRCodeWarehouse.Application.Dto.Mapper
{
    /// <summary>
    /// 配置AuthObjectRoleRelated的AutoMapper
    /// </summary>
    internal static class CustomerGenerationTaskMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<GenerationTask, GenerationTaskListDto>();
            configuration.CreateMap<GenerationTaskEditDto, GenerationTask>();
            configuration.CreateMap<GenerationTaskListDto, GenerationTaskEditDto>();
            configuration.CreateMap<GenerationTaskEditDto, GenerationTaskListDto>();
        }
    }
}